package com.gary.demo.biz;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gary.demo.entity.Product;
import com.gary.demo.model.param.ProductOperateParam;
import com.gary.demo.model.param.ProductQueryParam;

public interface ProductBO {

    Integer add(ProductOperateParam param);

    void update(ProductOperateParam param);

    Product getById(Integer id);

    IPage<Product> pageQuery(ProductQueryParam param);
}
